package com.typ.member.dao.mapper;

import com.typ.member.dao.model.MemberCardDto;
import com.typ.member.dao.model.MemberCardQueryDto;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MemberCardDtoMapper {
    int deleteByPrimaryKey(Long id);

    int insert(MemberCardDto record);

    int insertSelective(MemberCardDto record);

    MemberCardDto selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(MemberCardDto record);

    int updateByPrimaryKey(MemberCardDto record);

    List<MemberCardDto> selectByQuery(@Param("query") MemberCardQueryDto memberCardQueryDto);

}